package com.haohope.framework.wb;

import java.io.Serializable;
import java.util.List;

public class GridResult<T> implements Serializable{
	/**
	 * 
	 */
	private static final long serialVersionUID = -3502666892065212325L;
	private long total = 0l;
	private List<T> rows;
	public GridResult(long total,List<T> rows) {
		this.total = total;
		this.rows = rows;
	}
	public long getTotal() {
		return total;
	}
	public void setTotal(long total) {
		this.total = total;
	}
	public List<T> getRows() {
		return rows;
	}
	public void setRows(List<T> rows) {
		this.rows = rows;
	}
}
